package com.ruoyi.gxs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Id;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

/**
 * 新增学生对象 gxs_addstudent
 * 
 * @author 高晓松
 * @date 2024-03-01
 */
public class GxsAddstudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    //@Id
    //@GeneratedValue(strategy = GenerationType.IDENTITY)

    private Long gxsId;

    /** 学院 */
    @Excel(name = "学院")
    private String gxsCollege;

    public String getGxsCollege() {
        return gxsCollege;
    }

    public void setGxsCollege(String gxsCollege) {
        this.gxsCollege = gxsCollege;
    }

    /** 班级名 */
    @Excel(name = "班级名")
    private String gxsClass;

    /** 学号 */
    @Excel(name = "学号")
    private String userName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String nickName;

    public void setGxsId(Long gxsId) 
    {
        this.gxsId = gxsId;
    }

    public Long getGxsId() 
    {
        return gxsId;
    }
    public void setGxsClass(String gxsClass) 
    {
        this.gxsClass = gxsClass;
    }

    public String getGxsClass() 
    {
        return gxsClass;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gxsId", getGxsId())
            .append("gxsCollege", getGxsCollege())
            .append("gxsClass", getGxsClass())
            .append("userName", getUserName())
            .append("nickName", getNickName())
            .toString();
    }
}
